﻿using System;

namespace SVTTranslateTextEngine.TTResults
{
    /// <summary>
    /// This class is the base class of the rule object .
    /// It contain the common properties .
    /// </summary>
    [Serializable]
    public abstract class BaseResult
    {
        /// <summary>
        /// the souce language's code 
        /// </summary>
        public string szFromLang;

        /// <summary>
        /// the target language's code 
        /// </summary>
        public string szToLang;

        /// <summary>
        /// Get error message in the implementation of the process of translation.
        /// </summary>
        public string szErrorMessage;

        /// <summary>
        /// Get exception message in the implementation of the process of translation.
        /// </summary>
        public string szExceptionMessage;
    }
}